package com.cloudpan.common;

/**
 * @Author sc
 * @DATE 2023/7/13 15:11
 * @Description:
 * @Version 1.0
 */
public class CommonConstants {

    public static final String FOLDER_NAME_TEMP = "/temp/";

    //验证码key值
    public static final String CHECK_CODE_KEY = "code_key";

    //请求头
    public static final String TOKEN_HEADER = "Authorization";

    //1GB
    public static final Long GB = 1024 * 1024L * 1024L;
    public static final Long MB = 1024 * 1024L;

    //用户初始化空间大小 5g
    public static final Integer USERINITUSESPACE = 5;

    //父级id
    public static final String PARENT_ID = null;

    // 1:视频 2:音频  3:图片 4:文档 5:其他
    public static final String CATEGORY_VIDEO = "1";
    public static final String CATEGORY_AUDIO = "2";
    public static final String CATEGORY_PICTURE = "3";
    public static final String CATEGORY_DOCUMENT = "4";
    public static final String CATEGORY_OTHER = "5";

    //0:文件 1:目录
    public static final String FOLDERTYPE_ZERO = "0";
    public static final String FOLDERTYPE_ONE = "1";

    //1:视频 2:音频  3:图片 4:pdf 5:doc 6:excel 7:txt 8:code 9:zip 10:其他
    public static final String FILETYPE_VIDEO = "1";
    public static final String FILETYPE_AUDIO = "2";
    public static final String FILETYPE_PICTURE = "3";
    public static final String FILETYPE_PDF = "4";
    public static final String FILETYPE_DOC = "5";
    public static final String FILETYPE_EXCEL = "6";
    public static final String FILETYPE_TXT = "7";
    public static final String FILETYPE_CODE = "8";
    public static final String FILETYPE_ZIP = "9";
    public static final String FILETYPE_OTHER = "10";

    // 0:转码中 1转码失败 2:转码成功
    public static final String STATUS_ZERO = "0";
    public static final String STATUS_ONE = "1";
    public static final String STATUS_TWO = "2";

    //文件夹大小
    public static final Long FOLDER_ZERO = 0L;

    public static final String dEL_FLAG_ZERO = "0";
    public static final String dEL_FLAG_ONE = "1";
    public static final String dEL_FLAG_TWO = "2";


}
